import request from '@/utils/request';
export const serviceHead = '/omsystem'; // 项目前缀

// 根据单号查询详情
export function getDetailByNo (params) {
  return request({
    url: `${serviceHead}/minyaOms/findDetailByNumber`,
    method: 'post',
    data: params
  });
}

// 质检异常提交
export function take (params) {
  return request({
    url: `${serviceHead}/record`,
    method: 'post',
    data: params
  });
}